package br.ufrgs.ga.fitness;


/**
 * A genetic fitness calculator must implement this interface. 
 * @author mineiro
 *
 * @param <T> type of the calculated fitness value.
 */
public interface FitnessCalculator {

	/**
	 * Calculates a fitness of a Chromosome.
	 * 
	 * @param dnaStrand Chromosome DNA strand.
	 * @return the DNA strand fitness 
	 */
	public Object calculate(String dnaStrand);
}
